﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OUnsuitableProdListEasyUI.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.MacModel.OUnsuitableProdListEasyUI" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../EasyUI/themes/default/easyui.css"/>
	<link rel="stylesheet" type="text/css" href="../EasyUI/themes/icon.css" />
	<script type="text/javascript" src="../js/jquery-1.7.2.min.js"></script>   
	<script type="text/javascript" src="../EasyUI/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../EasyUI/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="../EasyUI/easyui-formatter_20140718.js?v2"></script>
     <link href="../themes/css/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
    <script src="../js/DWZ/jquery.autocomplete.js" type="text/javascript"></script>
    <script src="../js/DWZ/jquery.inputValue.js" type="text/javascript"></script>
    <script type="text/javascript">
        ///自适应宽高
       $(window).resize(function(){		    
             $("#tab_list").datagrid({
                    width: '100%',
                    height: $(parent.document).find(".tabsPageContent").height() - 11 > 0 ? $(parent.document).find(".tabsPageContent").height() - 11 : 500,
             }); 
	    });
        //权限处理
        var $powers={
            "r查看":<%=HasPowerEasyUI(IHISCETeim.Web.Permission.查看) %>,
            "r新增":<%=HasPowerEasyUI(IHISCETeim.Web.Permission.新增) %>,
            "r修改":<%=HasPowerEasyUI(IHISCETeim.Web.Permission.修改) %>,
            "r删除":<%=HasPowerEasyUI(IHISCETeim.Web.Permission.删除) %>,
            "r导出":<%=HasPowerEasyUI(IHISCETeim.Web.Permission.导出) %>,
            "r不适合品处理票_提交金额":<%=HasPowerEasyUI(IHISCETeim.Web.Permission.不适合品处理票_提交金额) %>,
            "r不适合品处理票_索赔结算":<%=HasPowerEasyUI(IHISCETeim.Web.Permission.不适合品处理票_索赔结算) %>,
            "r不适合品处理票_收入差异":<%=HasPowerEasyUI(IHISCETeim.Web.Permission.不适合品处理票_收入差异) %>,
            "r不适合品处理票_结案状态":<%=HasPowerEasyUI(IHISCETeim.Web.Permission.不适合品处理票_结案状态) %>,
            "r不适合品处理票_IK费用相关":<%=HasPowerEasyUI(IHISCETeim.Web.Permission.不适合品处理票_IK费用相关) %>
        };

        $(document).ready(function () {          
            //权限处理
            var $tab_toolbar=$("#tab_toolbar");
            $tab_toolbar.find("a").each(function(){
                var $per=$(this).attr("Permission");
                var pt= $powers[$per]==undefined || null?true:$powers[$per];
                $(this).linkbutton(pt?'enable': 'disable');
               
                if($(this).attr("menu")!=undefined && (pt==false))
                {
                    $(this).menubutton({
					    disabled:true
				    });
                }
                 
            })
           
            //自动完成
            $(".autocomplete").each(function () {
                var $this = $(this);
                var url = unescape($this.attr("autocompletehref"));
                $this.autocomplete(url);
            });
            //加载数据
            InitGird();  
            //加载通用查询字段
            var fields = $('#tab_list').datagrid('getColumnFields',true);
			for(var i=0; i<fields.length; i++){
				$('<option value="'+fields[i]+'" />').html($('#tab_list').datagrid('getColumnOption',fields[i]).title).appendTo($("#search_commfields"));
			}
            fields = $('#tab_list').datagrid('getColumnFields');
            for(var i=0; i<fields.length; i++){
                $('<option value="'+fields[i]+'" />').html($('#tab_list').datagrid('getColumnOption',fields[i]).title).appendTo($("#search_commfields"));
			}
        })
        //加载列表数据
        function InitGird() {
            $('#tab_list').datagrid({               
                url: location.href, //请求数据的页面
                sortName: 'UnsuitabledID', //排序字段
                sortOrder: 'desc', //排序类型
                idField: 'UnsuitabledID', //标识字段,主键
                iconCls: '', //标题左边的图标
                width: '100%', //宽度    
                height: $(parent.document).find(".tabsPageContent").height() - 11 > 0 ? $(parent.document).find(".tabsPageContent").height() - 11 : 500,
                nowrap: true, //是否换行，True 就会把数据显示在一行里
                striped: true, //True 奇偶行使用不同背景色
                collapsible: false, //可折叠
                singleSelect: true, //是否只能选中一条
                remoteSort: true, //定义是否从服务器给数据排序
                frozenColumns: [[//冻结的列，不会随横向滚动轴移动
                    { title: '完成情况', field: 'IsComplete', width: 80, sortable: true,formatter:function(value, row, index){                       
                        if(value==undefined)
                            return "-";
                         <%if(HasPower(IHISCETeim.Web.Permission.修改)){ %>
                        if(value=="未完成")
                            return "<a href='#' style='color:red;' onclick=\"onClickIsComplete("+row.UnsuitabledID+",'"+value+"',"+index+")\">未完成</a>";
                        if(value=="已完成")
                        {
                            return "<a href='#' style='color:green;' onclick=\"onClickIsComplete("+row.UnsuitabledID+",'"+value+"',"+index+")\">已完成</a>";
                        }
                        <%} %>
                        return value;
                    }},
                	{ title: '票号NO', field: 'StampNo', width: 80, sortable: true,formatter:function(value, row, index){
                            if(row.StampNo==undefined)
                                return "";
                            return '<a style=" font-weight:bold;" href="<%=ExportExcelWebUrl %>/MacModel/ExportOUnsuitableProdList.aspx?ID='+row.UnsuitabledID+'" target="_blank" >'+value+'</a>';//事件处理
                        }
                    },
                    {title: '编制', field: 'Worker', width: 70, sortable: true},
                    {title: '发行时间', field: 'IssueDate', width: 80 , sortable: true,formatter:formatterdate },
                    {title: '机型', field: 'MacType', width:80 , sortable: true}                                        
				]],
                columns: [[   
                    {title: '机器编号', field: 'SerialNumber', width:80 , sortable: true},
                    {title: '图号', field: 'ItemCode', width: 80, sortable: true},                
                    { title: '物料名称', field: 'ItemName', width: 90, sortable: true},
                    { title: '发现场所', field: 'FindPrdWorkShop', width: 80, sortable: true,formatter:function(value,row,index){
                            //var rstr="";
                            return row.FindPrdWorkShop?"生产车间":"仓库";
                           
                            // return rstr+='<a href="#" style="'+vbold+';"  onclick="onSupperClick(\''+row.UnsuitabledID+'\',\''+row.StampNo+'\'); return false;">'+row.SupplerName+'</a>';
                        } 
                    },
                    { title: '供应商', field: 'SupplerName', width: 80, sortable: true,formatter:function(value,row,index){
                            var rstr="";
                            var vbold=row.SupplerReplyFileName==""?"":"font-weight:bold;color:blue;";
                            if(row.SupplerName.toLocaleLowerCase()=="ik" && row.LoseCtrDpt.toLocaleLowerCase() != "ik")
                            {
                                rstr="<b style='color:red'> * </b>";
                            }
                            <%if(HasPower(IHISCETeim.Web.Permission.修改)){ %>
                             return rstr+='<a href="#" style="'+vbold+';"  onclick="onSupperClick(\''+row.UnsuitabledID+'\',\''+row.StampNo+'\'); return false;">'+row.SupplerName+'</a>';
                            <%}%>
                        return value;
                    } 
                    },
                    { title: '零件号', field: 'PartNum', width: 80, sortable: true},
                    { title: '数量', field: 'Quantity', width: 70, sortable: true},
                    { title: '补偿金额合计', field: 'LoseTotal', width: 80, sortable: true},
                    { title: '不适合现象描述', field: 'ExportFileName', width: 90, sortable: true},
                    { title: '提交金额', field: 'SubmitJinE', width: 120, sortable: true,formatter:function(value,row,index){
                             return '<a class="btnEditMoney" href="#"  onclick="onUpdateSubmitClick(\''+row.UnsuitabledID+'\',\''+row.StampNo+'\'); return false;">【￥'+value+'】'+row.SubmitDate+'</a>';
                        } 
                    },
                    { title: '索赔结算情况', field: 'ClaimRMB', width: 120, sortable: true,formatter:function(value,row,index){
                             return '<a class="btnDiffAnalyse" href="#"  onclick="onUpdateClaimClick(\''+row.UnsuitabledID+'\',\''+row.StampNo+'\'); return false;">【￥'+value+'】'+row.ClaimOpenDate+'</a>';
                        } 
                    },
                    { title: '索赔收入差异', field: 'UnsuitabledID2', width: 120, formatter:function(value,row,index){
                            var t=parseFloat(row.ClaimRMB)-parseFloat(row.SubmitJinE);
                             return '<a class="btnDiffAnalyse" href="#"  onclick="onUpdateClaimAnalyzeClick(\''+row.UnsuitabledID+'\',\''+row.StampNo+'\'); return false;">'+t+'</a>';
                        } 
                    },
                    { title: 'IK件结案状态', field: 'IKCaseStatus', width: 120, sortable: true, formatter:function(value,row,index){
                           // var t=parseFloat(row.ClaimRMB)-parseFloat(row.SubmitJinE);
                            // return '<a class="btnDiffAnalyse" href="#"  onclick="onUpdateClaimAnalyzeClick(\''+row.UnsuitabledID+'\',\''+row.StampNo+'\'); return false;">'+t+'</a>';

                             if(row.SupplerName.toLocaleLowerCase()=="ik" && row.LoseCtrDpt.toLocaleLowerCase() == "ik")
                             {
                                 return '<a class="btnDiffAnalyse" href="#"  onclick="onUpdateIKCaseClick(\''+row.UnsuitabledID+'\',\''+row.StampNo+'\'); return false;">'+value+'</a>';
                             }
                             else
                                return "";

                        } 
                    },
                    { title: 'IK件相关费用', field: 'UnsuitabledID3', width: 120, sortable: true, formatter:function(value,row,index){
                           // var t=parseFloat(row.ClaimRMB)-parseFloat(row.SubmitJinE);
                            // return '<a class="btnDiffAnalyse" href="#"  onclick="onUpdateClaimAnalyzeClick(\''+row.UnsuitabledID+'\',\''+row.StampNo+'\'); return false;">'+t+'</a>';

                             if(row.SupplerName.toLocaleLowerCase()=="ik" )
                             {
                                 return '<a class="btnEditMoney" href="#"  onclick="onUpdateIKReturnClick(\''+row.UnsuitabledID+'\',\''+row.StampNo+'\'); return false;">修改</a>';
                             }
                             else
                                return "";

                        } 
                    }
                ]],
                toolbar: "#tab_toolbar",
                queryParams: { "action": "query" },
                pagination: true, //是否开启分页
                pageNumber: 1, //默认索引页
                pageSize: <%=numPerPage %>, //默认一页数据条数
                pageList:<%=SetnumPerPage() %>,
                rownumbers: true, //行号
                showFooter: true,
                onHeaderContextMenu: function(e, field){
					e.preventDefault();
					if (!$('#tmenu').length){
						createColumnMenu();
					}
					$('#tmenu').menu('show', {
						left:e.pageX,
						top:e.pageY
					});
				},
                onRowContextMenu:function(e,rowIndex,rowData)
                {
                    e.preventDefault();
					if (!$('#tmenu').length){
						createColumnMenu();
					}
					$('#tmenu').menu('show', {
						left:e.pageX,
						top:e.pageY
					});
                }
            });

        }  
       /*显示列*/
       var ColumnFields={'JingXiaoShang':"经销商"};
       function createColumnMenu(){
			var tmenu = $('<div id="tmenu" style="width:150px;"></div>').appendTo('body');
			var fields = $('#tab_list').datagrid('getColumnFields');
			for(var i=0; i<fields.length; i++){
				$('<div data-options="name:\''+fields[i]+'\',iconCls:\'icon-ok\'" />').html($('#tab_list').datagrid('getColumnOption',fields[i]).title).appendTo(tmenu);
			}
			tmenu.menu({
				onClick: function(item){
					if (item.iconCls=='icon-ok'){                       
						$('#tab_list').datagrid('hideColumn', item.name);
						tmenu.menu('setIcon', {
							target: item.target,
							iconCls: 'icon-empty'
						});
					} else {
						$('#tab_list').datagrid('showColumn', item.name);
						tmenu.menu('setIcon', {
							target: item.target,
							iconCls: 'icon-ok'
						});
					}
				}
			});
		}
    </script>
    <script>
        //操作功能JS

        //打开高级查找窗口
        function onAdjSearch() {
            $("#tab_search").dialog("open");
            $("#search-buttons").find("#btn_search").one("click", function () {               
                var query = $("#tab_search").serializeJSON(); // GetInputData("tab_search", "query");
                query.action = "query";
                $('#tab_list').datagrid("options").queryParams = query;
                $('#tab_list').datagrid('load');
                $("#tab_search").dialog("close");
                return false;
            
            });
        }
        

        function onSupperClick(UnsuitabledID, StampNo) {
            var rel = "OUnsuitableProdSupper";
            var url = "MacModel/OUnsuitableProdSupper.aspx?UnsuitabledID=" + UnsuitabledID;
            var title = "[处理票号:" + StampNo + "]";
            var options = { width: 450, height: 350, max: false, mask: true, maxable: false, minable: false, fresh: true, resizable: false, drawable: true };
            top.$.pdialog.open(url, rel, title, options);
            //top.navTab.openTab(rel, url, { title: title, fresh: true, external: false });
            return false;
        }
        //提交金额
        function onUpdateSubmitClick(UnsuitabledID,StampNo) {
            var rel = "OUnsuitableProdUpdateSubmit";
            var url = "MacModel/OUnsuitableProdUpdateSubmit.aspx?UnsuitabledID=" + UnsuitabledID;
            var title = "[处理票号:" + StampNo + "]提交金额信息";
            var options = { width: 400, height: 320, max: false, mask: true, maxable: false, minable: false, fresh: true, resizable: false, drawable: true };
            top.$.pdialog.open(url, rel, title, options);
            //top.navTab.openTab(rel, url, { title: title, fresh: true, external: false });
            return false;
        }
        //索赔结算情况
        function onUpdateClaimClick(UnsuitabledID, StampNo) {
            var rel = "OUnsuitableProdUpdateClaim";
            var url = "MacModel/OUnsuitableProdUpdateClaim.aspx?UnsuitabledID=" + UnsuitabledID;
            var title = "[处理票号:" + StampNo + "]索赔结算信息";
            var options = { width: 830, height: 460, max: false, mask: true, maxable: false, minable: false, fresh: true, resizable: false, drawable: true };
            top.$.pdialog.open(url, rel, title, options);
            //top.navTab.openTab(rel, url, { title: title, fresh: true, external: false });
            return false;
        }
        //索赔收入差异
        function onUpdateClaimAnalyzeClick(UnsuitabledID, StampNo) {
            var rel = "OUnsuitableProdUpdateClaimAnalyze";
            var url = "MacModel/OUnsuitableProdUpdateClaimAnalyze.aspx?UnsuitabledID=" + UnsuitabledID;
            var title = "[处理票号:" + StampNo + "]索赔收入差异分析";
            var options = { width: 830, height: 460, max: false, mask: true, maxable: false, minable: false, fresh: true, resizable: false, drawable: true };
            top.$.pdialog.open(url, rel, title, options);
            //top.navTab.openTab(rel, url, { title: title, fresh: true, external: false });
            return false;
        }
        //IK件结案状态
        function onUpdateIKCaseClick(UnsuitabledID, StampNo) {
            var rel = "OUnsuitableProdUpdateIKCase";
            var url = "MacModel/OUnsuitableProdUpdateIKCase.aspx?UnsuitabledID=" + UnsuitabledID;
            var title = "IK件结案相关";
            var options = { width: 830, height: 350, max: false, mask: true, maxable: false, minable: false, fresh: true, resizable: false, drawable: true };
            top.$.pdialog.open(url, rel, title, options);
            //top.navTab.openTab(rel, url, { title: title, fresh: true, external: false });
            return false;
        }
        //IK件相关费用
        function onUpdateIKReturnClick(UnsuitabledID, StampNo) {
            var rel = "OUnsuitableProdUpdateIKReturn";
            var url = "MacModel/OUnsuitableProdUpdateIKReturn.aspx?UnsuitabledID=" + UnsuitabledID;
            var title = "IK件相关费用";
            var options = { width: 830, height: 350, max: false, mask: true, maxable: false, minable: false, fresh: true, resizable: false, drawable: true };
            top.$.pdialog.open(url, rel, title, options);
            //top.navTab.openTab(rel, url, { title: title, fresh: true, external: false });
            return false;
        }


        //新增
        function onAddClick() {
            var rel = "OUnsuitableProdAdd";
            var url = "MacModel/OUnsuitableProdAddV2.aspx";
            var title = "添加不适合品处理票";
            var options = { width: 850, height: 450, max: false, mask: true, maxable: false, minable: false, fresh: true, resizable: false, drawable: true };
            //top.$.pdialog.open(url, rel, title, options);
            top.navTab.openTab(rel, url, { title: title, fresh: true, external: false });
            return false;
        }
        //补充及追加
        function onAdd2Click() {
            var row = $('#tab_list').datagrid('getSelected')
            if (row == null) {
                $.messager.alert('提示', '请先选择要补充或追加的适合品处理票');
                return false;
            }

            var UnsuitabledID = row.UnsuitabledID;

            var rel = "OUnsuitableProdEdit";
            var url = "MacModel/OUnsuitableProdEditV2.aspx?addType=1&UnsuitabledID=" + UnsuitabledID;
            var title = "补充及追加不适合品处理票";
            var options = { width: 850, height: 450, max: false, mask: true, maxable: false, minable: false, fresh: true, resizable: false, drawable: true };
            //top.$.pdialog.open(url, rel, title, options);
            top.navTab.openTab(rel, url, { title: title, fresh: true, external: false });
            $('#tab_list').datagrid('unselectAll')//取消选中,不然会直接选中上次的数据
            return false;
        }
        //修改
        function onEditClick() {
            var row = $('#tab_list').datagrid('getSelected')
            if (row == null) {
                $.messager.alert('提示', '请先选择要修改的不适合品处理票');
                return false;
            }

            var UnsuitabledID = row.UnsuitabledID;

            var rel = "OUnsuitableProdEdit";
            var url = "MacModel/OUnsuitableProdEditV2.aspx?addType=0&UnsuitabledID=" + UnsuitabledID;
            var title = "修改不适合品处理票";
            var options = { width: 850, height: 450, max: false, mask: true, maxable: false, minable: false, fresh: true, resizable: false, drawable: true };
            //top.$.pdialog.open(url, rel, title, options);
            top.navTab.openTab(rel, url, { title: title, fresh: true, external: false });

            $('#tab_list').datagrid('unselectAll')//取消选中,不然会直接选中上次的数据
            return false;
        }

        //删除
        function onDelClick() {
            var row = $('#tab_list').datagrid('getSelected')
            if (row == null) {
                $.messager.alert('提示', '请先选择要删除的不适合品处理票记录');
                return false;
            }
            $.messager.confirm('提示', '您确认要删除此不适合品处理票记录吗？', function (r) {
                if (r) {
                    var UnsuitabledID = row.UnsuitabledID;
                    var url = "sysAjaxDone.ashx?ajaxmethod=deleteOUnsuitableProd&UnsuitabledID=" + UnsuitabledID;
                    top.ajaxTodo(url, "");
                    $("#tab_list").datagrid("load");

                }
            });
            $('#tab_list').datagrid('unselectAll')//取消选中,不然会直接选中上次的数据
            return false;
        }
        //改完成情况
        function onClickIsComplete(UnsuitabledID, IsComplete, RowIndex) {

            var changeIsComplete = IsComplete == "未完成" ? "已完成" : "未完成";
            $.messager.confirm('提示', '您确认要更改成' + changeIsComplete + '吗？', function (r) {
                if (r) {
                    var url = "sysAjaxDone.ashx?ajaxmethod=changeiscomplete&UnsuitabledID=" + UnsuitabledID + "&IsComplete=" + encodeURIComponent(changeIsComplete);
                    top.ajaxTodo(url, "");
                    $('#tab_list').datagrid('getRows')[RowIndex].IsComplete = changeIsComplete;
                    $('#tab_list').datagrid('refreshRow', RowIndex);
                }
            });
            return false;
        }
        ///导出管控表(财务)
        function onExportCWClick() {
            var href = "<%= ExportExcelWebUrl%>/MacModel/ExportOUnsuitableProdManageList.aspx?" + jQuery.param($("#tab_search").serializeJSON()); ;
            top.window.open(href, "");
        }
        ///批量导出(质管)
        function onExportZGClick() {
            var href = "<%= ExportExcelWebUrl%>/MacModel/BatchExportOUnsuitableProdList.aspx?" + jQuery.param($("#tab_search").serializeJSON()); ;
            top.window.open(href, "");
        } 
    </script>
</head>
<body style="margin:2px;" >
   
    <div id="tab_list" ></div>
    <div id="tab_toolbar" style="padding:2px;">
       <a href="#" title="高级查找" class="easyui-linkbutton" iconcls="icon-search" plain="true" onclick="return　onAdjSearch(this);" Permission="">查找</a>
       <a href="#" title="添加不适合品处理票" class="easyui-linkbutton" iconcls="icon-add" plain="true" onclick="return onAddClick()" Permission="r新增">新增</a>
       <a href="#" title="补充及追加不适合品处理票" class="easyui-linkbutton" iconcls="icon-add" plain="true" onclick="return onAdd2Click()" Permission="r新增">补充及追加</a>
       <a href="#" title="修改不适合品处理票" class="easyui-linkbutton" iconcls="icon-save" plain="true" onclick="return　onEditClick();" Permission="r修改">修改</a>
       <a href="#" title="删除" class="easyui-linkbutton" iconcls="icon-remove" plain="true" onclick="return　onDelClick();" Permission="r删除">删除</a> 
       <a href="#"  title="导出管控表(财务)" class="easyui-linkbutton" iconCls="icon-btnDown" plain="true" Permission="r导出" onclick="return　onExportCWClick();">导出管控表(财务)</a>  
       <a href="#" title="批量导出(质管)" class="easyui-linkbutton" iconCls="icon-btnDown" plain="true" Permission="r导出" onclick="return　onExportZGClick();">批量导出(质管)</a>  

    </div> 

  

    <div id="tab_search" title="查询条件" style=" height:250px; width:500px;" class="easyui-dialog" modal="true" closed="true" buttons="#search-buttons">
        <table class="table_search" width="100%" style=" line-height:21px;">
            <tr>
                <td>物料号/名称:</td>
                <td><input  name="ItemCode"  /></td>
                <td>票号NO:</td>
                <td><input  name="StampNo" value="" /></td>
            </tr>
            <tr>
                <td>描述:</td>
                <td ><input name="ExportFileName" type="text" value=""  /></td>
                <td >编制人:</td>
                 <td><input name="Worker" type="text" value=""  /></td>
            </tr>
            <tr>
                <td>机号:</td>
                <td><input  name="SerialNumber" value="" /></td>
                <td>供应商:</td>
                <td>
                    <input name="SupplerName" type="text" value=""  />
                </td>
            </tr>
            <tr>
                <td>
                    发行时间：
                </td>
                <td Colspan="3">                    
                    从<input name="DownlineDateFrom" class="easyui-datebox" type="text" value="" />
                    到<input name="DownlineDateTo" type="text" class="easyui-datebox" value="" />
                </td>
            </tr>
            <tr>
                <td >
                    其它:
                </td>
                <td>
                    <select name="commfieldsname" id="search_commfields" >
                        <option value="ERPFinished">ERP已入库</option>
                        <option value="ERPNotFinished">ERP未入库</option>
                    </select>
                </td>
                <td Colspan="2">=
                    <input  name="commfieldsvalue"type="text" value=""  />
                </td>
            </tr>
            <tr>
                <td>说明：</td>
                <td colspan="3">发现场所,1＝生产车间,0=仓库。ERP已入库,请输入1。ERP未入库,请输入1</td>
            </tr>
        </table>
        <div id="search-buttons">
            <a id="btn_search" href="javascript:;" class="easyui-linkbutton" iconcls="icon-search" plain="true">提交</a> 
            <a href="javascript:;" class="easyui-linkbutton" onclick="$('#tab_search').dialog('close');return false;" iconcls="icon-cancel" plain="true">取消</a>
        </div>
    </div>
       
</body>
</html>